import { request, baseUrl } from '@/utils/request'

//查询出库单
export function getDetailByBarcode(barcode) {
  return request({
    url: `${baseUrl.api_base_url}/inventoryBill/v1/get/yjt?barcode=` + barcode,
    method: 'get',
  })
}

//盘库确认
export function savePankuInfo(data) {
  return request({
    url: `${baseUrl.api_base_url}/inventoryBill/v1/save`,
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'application/json',
    },
  })
}
